package com.symaster.gameengine.util;

public class IdManager {
        private static int ID = 0;
        private static final Object SynchronizedOBJ = new Object();

        public static int requestId() {
            synchronized (SynchronizedOBJ) {
                return ID++;
            }
        }
    }